import request from "@/utils/request";
import {AesMain} from "@/utils/AesHmacMD5"

// 查询文件列表详情
export function listType(query) {
  return request({
    url: "/admin/budget/channel/detail/list/",
    method: "post",
    data: AesMain(query)
  });
}

// 新增文件列表详情
export function addType(query) {
  return request({
    url: "/admin/budget/channel/detail/add/",
    method: "post",
    data: AesMain(query)
  });
}

// 修改文件列表详情
export function editType(query) {
  return request({
    url: "/admin/budget/channel/detail/edit/",
    method: "post",
    data: AesMain(query)
  });
}

// 删除文件列表详情
export function delType(query) {
  return request({
    url: "/admin/budget/channel/detail/delete/",
    method: "post",
    data: AesMain(query)
  });
}

// 精准查找
export function AccurateType(query) {
  return request({
    url: "/admin/budget/channel/detail/accurate/",
    method: "post",
    data: AesMain(query)
  });
}

// 下载文件列表详情
export function downloadType(query) {
  return request({
    url: "/admin/budget/channel/detail/download/",
    method: "post",
    data: AesMain(query)
  });
}